<?php
/**
 * Geocontexter
 * @link http://code.google.com/p/geocontexter/
 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @author Armand Turpel <geocontexter@gmail.com>
 * @version $Rev$ / $LastChangedDate$ / $LastChangedBy$
 */

namespace Setup;


class Module
{
    public function getConfig()
    {
        // set admin route
        //
        $config = include __DIR__ . '/config/module.config.php';
        //$config['router']['routes']['admin']['options']['route'] = '/' . $this->admin_token . '[/:controller[/:action]]';
        return $config;
    }

    public function getAutoloaderConfig()
    {
        return array(
            'Zend\Loader\StandardAutoloader' => array(
                'namespaces' => array(
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
                ),
            ),
        );
    }
}
